<?php


namespace app\model\admin\wzg;


use laytp\BaseModel;

class WzGetHeroTeam extends BaseModel
{
    protected $name='wz_get_hero_team';

    public function hero(){
        return $this->hasOne(WzGetHero::class,"relation_id","relation_hero_one");
    }

    public function heroTwo(){
        return $this->hasOne(WzGetHero::class,"relation_id","relation_hero_two");
    }

}